ci test
This commit is contained in:
		@@ -30,14 +30,17 @@ jobs:
 | 
			
		||||
        run: |
 | 
			
		||||
          apt-get update
 | 
			
		||||
          apt-get install --yes postgresql-client
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
      - name: import f0ck database
 | 
			
		||||
        run: psql -h postgres -d f0ck -U f0ck < f0ck.sql
 | 
			
		||||
        env:
 | 
			
		||||
          PGPASSWORD: f0ck
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
      - name: create directories
 | 
			
		||||
        run: mkdir -p tmp public/ca deleted/{ca,b,t}
 | 
			
		||||
 | 
			
		||||
      - name: copy config
 | 
			
		||||
        run: cp config_example.json config.json
 | 
			
		||||
 | 
			
		||||
      - name: run f0ck
 | 
			
		||||
        run: npm start
 | 
			
		||||
 
 | 
			
		||||
@@ -29,9 +29,22 @@
 | 
			
		||||
      "<img src=\"/s/img/crap/nyancat.gif\" style=\"margin-top: 5px\" />"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "clients": [
 | 
			
		||||
 | 
			
		||||
  ],
 | 
			
		||||
  "clients": [{
 | 
			
		||||
    "type": "irc",
 | 
			
		||||
    "enabled": true,
 | 
			
		||||
    "network": "n0xy",
 | 
			
		||||
    "host": "irc.n0xy.net",
 | 
			
		||||
    "port": 6697,
 | 
			
		||||
    "ssl": true,
 | 
			
		||||
    "selfSigned": false,
 | 
			
		||||
    "sasl": false,
 | 
			
		||||
    "nickname": "f0ckci",
 | 
			
		||||
    "username": "f0ckci",
 | 
			
		||||
    "realname": "f0ckci",
 | 
			
		||||
    "channels": [
 | 
			
		||||
      "#f0ck-dev"
 | 
			
		||||
    ]
 | 
			
		||||
  }],
 | 
			
		||||
  "sql": {
 | 
			
		||||
    "host": "localhost",
 | 
			
		||||
    "user": "f0ck",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user