mirror of
https://github.com/disposable-email-domains/disposable-email-domains.git
synced 2024-11-21 16:18:11 +08:00
replace travis with gha (#269)
* replace travis with gha * install reqs * write a message when check is ok so it can be read easily in CI
This commit is contained in:
parent
4dd520a7c2
commit
760a6e52b4
17
.github/workflows/pr.yml
vendored
Normal file
17
.github/workflows/pr.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: validate blocklist entries
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- run: pip install -r requirements.txt && python verify.py
|
@ -1,6 +0,0 @@
|
||||
language: python
|
||||
python:
|
||||
- "3.6"
|
||||
script:
|
||||
- python verify.py
|
||||
|
Loading…
Reference in New Issue
Block a user