OxbridgeEconomics commited on
Commit
2034ad2
·
1 Parent(s): 0fc522e
Files changed (1) hide show
  1. .github/workflows/gov.yml +37 -0
.github/workflows/gov.yml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+ name: Data Collection - GOV
5
+
6
+ on:
7
+ # schedule:
8
+ # - cron: '0 16 * * *'
9
+ workflow_dispatch:
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ jobs:
15
+ build:
16
+
17
+ runs-on: ubuntu-latest
18
+
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Set up Python 3.10
22
+ uses: actions/setup-python@v3
23
+ with:
24
+ python-version: "3.10"
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29
+ pip install transformers
30
+ pip install tensorflow
31
+ pip install tf-keras
32
+ - name: Data Collection
33
+ env:
34
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
35
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
36
+ run: |
37
+ python gov.py